#!/bin/bash
g=2
c=456
if [ $g -eq 1 -a "$c" = "123" ] || [ $g -eq 2 -a "$c" = "456" ]
then echo abc
else echo efg
fi

read
# [[ ...]] välissä ei tarvitse välilyöntejä sisältävää sanaa kirjoittaa sulkuihin.
echo "Enter the string"
read str
if [[ $str == *condition* ]]
then
	echo "String "$str has the word \"condition\"
fi
